<?php
namespace Admin\Controller;
use Think\Controller;
class IndexController extends Controller {
    public function index(){
        $User = M('category');
        $count = $User->count();
        $list = $User->field('id,name,template_list')->where('id in(1,2,5,8,10)')->order('id asc')->select();
        $this->assign('list',$list);
        $this->display();
    }
    public function main(){

        
        $this->display();
    }
}